package com.oracle.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.oracle.pojo.Major;

import java.util.List;

public interface MajorService {
    IPage<Major> findMajor(Major major, Integer pageNum, Integer pageSize);
    Major findOneMajor(Integer id);
    List<Major> findAllMajor();
    int insertMajor (Major major);
    int updateMajor (Major major);
    int deleteMajor (Integer id);
}
